﻿Public Class Profile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Request.Params("TravellerName") = User.Identity.Name Then
            btn_editProfile.Visible = True
        Else
            btn_editProfile.Visible = False
        End If
    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
        Response.Redirect("Gallery.aspx?TravellerName=" & Request.QueryString("TravellerName"))
    End Sub
End Class